package com.xmy.cultivate.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum StatusStaffEnum {

    //订单类型：1报名
    NO(0,"待入职"),
    IN(1,"员工"),
    OUT(2,"离职"),
    TRY(3,"试岗"),
    NOIN(4,"未入职");


    @EnumValue
    private Integer key;

    @JsonValue
    private String value;

    StatusStaffEnum(Integer key, String value){
        this.key = key;
        this.value = value;
    }
}
